package com.taxshare.purchaser.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.taxshare.mybatis.entity.BaseEntity;
import com.taxshare.purchaser.constant.TableConstant;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author YANG
 * @ClassName: TPurchaserMachinTicketPoolEntity
 * @Description:
 * @date 2021-04-12
 */
@Data
@ApiModel(description = "机打发票池")
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(TableConstant.T_PURCHASER_MACHIN_TICKET_POOL)
public class MachinTicketPoolEntity extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId("uuid")
    private String uuid;

    @ApiModelProperty("发票类型：26")
    @TableField("invoice_type")
    private String invoiceType;

    @ApiModelProperty("消费类型")
    @TableField("consume_kind")
    private String consumeKind;

    @ApiModelProperty("发票代码")
    @TableField("invoice_code")
    private String invoiceCode;

    @ApiModelProperty("发票号码")
    @TableField("invoice_no")
    private String invoiceNo;

    @ApiModelProperty("购方名称")
    @TableField("purchaser_name")
    private String purchaserName;

    @ApiModelProperty("购方税号")
    @TableField("purchaser_tax_no")
    private String purchaserTaxNo;

    @ApiModelProperty("销方名称")
    @TableField("seller_name")
    private String sellerName;

    @ApiModelProperty("销方税号")
    @TableField("seller_tax_no")
    private String sellerTaxNo;

    @ApiModelProperty("开票日期")
    @TableField("invoice_date")
    private String invoiceDate;

    @ApiModelProperty("是否为通用机打发票 1 ：是）")
    @TableField("printed_mark")
    private String printedMark;

    @ApiModelProperty("价税合计（大写）")
    @TableField("amount_big")
    private String amountBig;

    @ApiModelProperty("价税合计（小写）")
    @TableField("amount_small")
    private String amountSmall;

    @ApiModelProperty("影像ID")
    @TableField("image_id")
    private String imageId;

    @ApiModelProperty("报销状态 1 未报销 2 已报销")
    @TableField("reimbursement_status")
    private String reimbursementStatus;

    @ApiModelProperty("责任人")
    @TableField("person_liable")
    private String personLiable;

    @ApiModelProperty("采集人")
    @TableField("collector")
    private String collector;

    @ApiModelProperty("记账科目")
    @TableField("booking_account")
    private String bookingAccount;

    @ApiModelProperty("被授权人")
    @TableField("licensee")
    private String licensee;

    @ApiModelProperty("责任人ID")
    @TableField("person_liable_id")
    private String personLiableId;

    @ApiModelProperty("采集人ID")
    @TableField("collector_id")
    private String collectorId;

    @ApiModelProperty("被授权人ID")
    @TableField("licensee_id")
    private String licenseeId;

    @ApiModelProperty("审批记录编号")
    @TableField("record_no")
    private String recordNo;

    @TableField("create_time_str")
    private String createTimeStr;


}